import request from '@/utils/request'

const PurchaseDetail = {
  // 子采购单列表
  pagePurchase(data) {
    return request({
      url: 'Purchase/pagePurchase',
      method: 'post',
      data
    })
  },
  // 子采购单列表 明细列表 合并
  pagePurchaseDetail(data) {
    return request({
      url: 'Purchase/pagePurchaseDetail',
      method: 'post',
      data
    })
  },
  // 修改采购单 采购单详情接口
  editPurchase(data) {
    return request({
      url: 'Purchase/editPurchase',
      method: 'post',
      data
    })
  }
}
export { PurchaseDetail }
